package com.lingo.mgr.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import com.lingo.common.core.domain.BaseEntity;

/**
 * 聊天消息会话对象 chat_session
 *
 * @author lingo
 * @date 2023-11-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("chat_session")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChatSession extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 会话id
     */
    @TableId(value = "session_id")
    private Long sessionId;
    /**
     * 用户userId
     */
    private Long userId;
    /**
     * 会话名
     */
    private String sessionName;
    /**
     * 备注
     */
    private String remark;
    /**
     * 模型类型：1:GPT-3.5,2:GPT-4.0
     */
    private Integer modelId;

}
